package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
  @ApiModel(value = "User对象", description = "")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("用户名")
      private String username;

      @ApiModelProperty("密码")
      private String password;

      @ApiModelProperty("昵称")
      private String nickname;

      @ApiModelProperty("性别")
      private String sex;

      @ApiModelProperty("头像")
      private String profilepic;

      @ApiModelProperty("邮箱")
      private String email;

      @ApiModelProperty("地址")
      private String address;

      @ApiModelProperty("所在行业")
      private String occupation;

      @ApiModelProperty("个人简介")
      private String introduction;

      @ApiModelProperty("角色")
      private String role;

}
